<include file="Public/header"/>
    <div class="row">
            <div class="layui-tab">
                <ul class="layui-tab-title">
                    <li class="layui-this" data-url="<{:U('User/usermoney',['userid'=>$info[id]])}>" onclick="load_url(this)">今日明细</li>
                    <li class="" data-url="<{:U('User/incrMoney',['uid'=>$info[id]])}>" onclick="load_url(this)">加/减余额</li>
                    <li class="" data-url="<{:U('User/frozenTiming',['uid'=>$info[id],'tradeType'=>'t1'])}>" onclick="load_url(this)">T1资金解冻</li>
                    <li class="" data-url="<{:U('User/frozenTiming',['uid'=>$info[id],'tradeType'=>'d1'])}>" onclick="load_url(this)">D1资金解冻</li>
                    <li class="" data-url="<{:U('User/frozenMoney',['uid'=>$info[id]])}>" onclick="load_url(this)">解冻金额</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <form class="layui-form" action="">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">账户余额：</label>
                                    <div class="layui-input-inline">
                                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input" value="<{$info.balance}>">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">可提余额：</label>
                                    <div class="layui-input-inline">
                                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input" value="<{$account.availableBalance}>">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">T+1：</label>
                                    <div class="layui-input-inline">
                                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input" value="<{$account.t1}>">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">D+1：</label>
                                    <div class="layui-input-inline">
                                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input" value="<{$account.d1}>">
                                    </div>
                                </div>
                            </div>
                            <!--<div class="layui-form-item">-->
                                <!--<div class="layui-inline">-->
                                    <!--<label class="layui-form-label"></label>-->
                                    <!--<button  class="btn btn-primary">提交保存</button>-->
                                <!--</div>-->
                            <!--</div>-->
                        </form>
                    </div>
                </div>
            </div>
        </div>
<include file="Public/footer"/>
    <script>
        layui.use(['form','laydate','layer'], function(){
                var form = layui.form
                    ,layer = layui.layer
                    ,laydate = layui.laydate;
        });

        function load_url(url) {
            var url = $(url).data('url');
            location.href = url;
        }
        /*用户-冻结、解冻余额*/
        function money_frozen(title,url,w,h){
            if (title == null || title == '') {
                title=false;
            };
            if (url == null || url == '') {
                url="404.html";
            };
            if (w == null || w == '') {
                w=800;
            };
            if (h == null || h == '') {
                h=($(window).height() - 50);
            };
            parent.layer.open({
                type: 2,
                area: [w+'px', h +'px'],
                fix: false, //不固定
                maxmin: true,
                shadeClose: true,
                shade:0.4,
                title: title,
                content: url
            });
        }
    </script>
</body>
</html>
